<?php /* Smarty version Smarty-3.0.9, created on 2013-05-09 12:45:49
         compiled from "C:/wamp/www/glight/templates\CrearSonido.tpl" */ ?>
<?php /*%%SmartyHeaderCode:28255518b9a7d228d26-39305520%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '2d3269b7ed5bcc9f8a5bad72e83e0605e2f4c641' => 
    array (
      0 => 'C:/wamp/www/glight/templates\\CrearSonido.tpl',
      1 => 1365310413,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '28255518b9a7d228d26-39305520',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>

<div>
    <style type="text/css"> @import url(../css/form.css); </style>
    <h3>Crear Sonido</h3>
    <form action="<?php echo $_smarty_tpl->getVariable('gvar')->value['l__global'];?>
CrearSonido.php?option=mostrardatos" method="POST">
        <table id="tableForm" class="tableForm" >

            <tr>
                <td></td> 
                <td>
                </td>

            </tr> 
            <tr>
                <td>
                    Nombre:
                </td>
                <td>
                    <input type="text" required id="nombreLvl" name="nombreLvl" autocomplete="off">
                </td>
            </tr>

            <tr>
                <td>
                    Intensidad:
                </td>
                <td>
                    <input type="range" max="10" min="0" value="5" step="1" required name="slider">
                </td>
            </tr>
            <tr>
                <td>
                    Tipo:
                </td>
                <td>
                    <select required name="dificultad">
                        <option value="facil" selected>Facil</option>
                        <option value="medio">Medio</option>
                        <option value="dificil" >Dificil</option>
                        <option value="ultra">Ultra</option>
                    </select>
                </td>
            </tr>


            <tr>
                <td>
                    Duracion:
                </td>
                <td>
                   <input type="time" name="time" required>
                </td>
            </tr>    
          
            
            <tr>
                <td>Descripción:</td>

                <td>
                    <textarea  required id="descEsc" name="descEsc" autocomplete="off"></textarea>
                </td>
            </tr>

           

            
            
            <tr>
                <td>

                </td>
                <td>
                    <hr>
                    <div class="submit">
                        <input type="submit" value="Crear Sonido">
                    </div>

                </td>
            </tr>

        </table><br />
    </form>
    <?php if (isset($_smarty_tpl->getVariable('Sonido',null,true,false)->value)){?>
        <table id="tableForm" class="tableForm" >
            <tr><td>
                    <h4> Resultados:</h4><br/><br/>
                    <?php  $_smarty_tpl->tpl_vars['value'] = new Smarty_Variable;
 $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('Sonido')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['value']->key => $_smarty_tpl->tpl_vars['value']->value){
 $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['value']->key;
?>
                    <b><?php echo $_smarty_tpl->tpl_vars['key']->value;?>
  :</b> <?php echo $_smarty_tpl->tpl_vars['value']->value;?>
<br/><br/>

                     <?php }} ?>
                </td></tr></table>  
     <?php }?>
</div>